public class FuncArg {
    public static void main(String[] args) {
        String str = "Hello World";
        change(str);
        System.out.println(str);
    }
    public static void change(String str) {
        str = "Goodbye";
    }
}
